package com.member.shop.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.member.shop.domain.SysBizOtherUser;

import java.util.List;

/**
 * 用户层级Mapper接口
 *
 * @author wangxin
 * @date 2024-06-11
 */
public interface SysBizOtherUserMapper extends BaseMapper<SysBizOtherUser> {
    /**
     * 查询用户层级
     *
     * @param id 用户层级主键
     * @return 用户层级
     */
    public SysBizOtherUser selectSysBizOtherUserById(Long id);

    /**
     * 查询用户层级列表
     *
     * @param sysBizOtherUser 用户层级
     * @return 用户层级集合
     */
    public List<SysBizOtherUser> selectSysBizOtherUserList(SysBizOtherUser sysBizOtherUser);

    /**
     * 新增用户层级
     *
     * @param sysBizOtherUser 用户层级
     * @return 结果
     */
    public int insertSysBizOtherUser(SysBizOtherUser sysBizOtherUser);

    /**
     * 修改用户层级
     *
     * @param sysBizOtherUser 用户层级
     * @return 结果
     */
    public int updateSysBizOtherUser(SysBizOtherUser sysBizOtherUser);

    /**
     * 删除用户层级
     *
     * @param id 用户层级主键
     * @return 结果
     */
    public int deleteSysBizOtherUserById(Long id);

    /**
     * 批量删除用户层级
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSysBizOtherUserByIds(Long[] ids);
}
